package com.jdd.modules.visitorLog.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import com.jdd.modules.visitorLog.entity.VisitorLog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 访客记录
 * @Author: jdd
 * @Date:   2022-04-08
 * @Version: V1.0
 */
public interface VisitorLogMapper extends BaseMapper<VisitorLog> {
    IPage<VisitorLog> findAllVisitorLog(@Param(value = "page") Page<VisitorLog> page, @Param(value = "visitorLog") VisitorLog visitorLog);
    /**
     *邀请来访按天统计
     */
    List<VisitorLog> getVisitNum(@Param("projectCodes") List<String> projectCodes);
}
